package entity;

public class Data implements IData {
	
	private double weight;
	private double taraWeight;
	private String p111, rm201, rm202, rm203, display, debug1, debug2;
	
	public Data(){
		p111 = "";
		rm201 = "";
		rm202 = "";
		rm203 = "";
		display = "";
		debug1 = "";
		debug2 = "";
	}
	
	public void setDisplay(String display){
		this.display = display;
	}
	
	public void setP111(String p111){
		this.p111 = p111;
	}
	
	public void setRM20(String rm201, String rm202, String rm203){
		this.rm201 = rm201;
		this.rm202 = rm202;
		this.rm203 = rm203;
	}
	
	public String getDisplay(){
		return display;
	}
	
	/* (non-Javadoc)
	 * @see entity.IData#getWeight()
	 */
	@Override
	public double getWeight(){
		return weight;
	}
	
	/* (non-Javadoc)
	 * @see entity.IData#setWeight(double)
	 */
	@Override
	public void setWeight(double weight){
		this.weight = weight;
	}
	
	/* (non-Javadoc)
	 * @see entity.IData#getTaraWeight()
	 */
	@Override
	public double getTaraWeight(){
		return taraWeight;
	}
	
	/* (non-Javadoc)
	 * @see entity.IData#setTaraWeight(double)
	 */
	@Override
	public void setTaraWeight(double tara){
		this.taraWeight = tara;
	}

	@Override
	public String getP111() {
		return p111;
	}

	@Override
	public String getRM201() {
		return rm201;
	}

	@Override
	public String getRM202() {
		return rm202;
	}

	@Override
	public String getRM203() {
		return rm203;
	}
	
	@Override
	public void setDebug1(String txt){
		debug1 = txt;
	}
	
	@Override
	public void setDebug2(String txt){
		debug2 = txt;
	}
	
	@Override
	public String getDebug1(){
		return debug1;
	}
	
	@Override
	public String getDebug2(){
		return debug2;
	}
}
